package cn.HL.org.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import cn.HL.basic.domain.BaseDomain;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author HL
 * @since 2022-06-12
 */
@Data
public class Shop extends BaseDomain{

    private static final long serialVersionUID = 1L;
    @Excel(name = "店铺名字" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String name;
    @Excel(name = "联系电话" ,orderNum = "2", width = 30, isImportField = "true_st")
    private String tel;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @Excel(name = "创建时间" ,orderNum = "3", width = 30, isImportField = "true_st",exportFormat="yyyy-MM-dd")
    private Date registerTime =new Date();
    /**
     * 店铺状态：0待审核，1以审核，-1驳回，2待激活
     */
    @Excel(name = "店铺状态",orderNum = "4", replace = { "待审核_0", "审核通过_1","审核驳回_-1" }, isImportField = "true_st")
    private Integer state =0;
    @Excel(name = "店铺地址" ,orderNum = "5", width = 30, isImportField = "true_st")
    private String address;
    @Excel(name = "店招" ,orderNum = "6", width = 30, isImportField = "true_st")
    private String logo;
    private Long adminId;
    private Employee admin;
    private String Username;

    private List<ShopAuditLog> auditLogs;




}
